﻿/*******************************************************
*类名称：WechatImageTextManager
*版本号：V1.0.0.0
*作者：成俊杰
*CLR版本：4.0.30319.36264
*创建时间：2017-09-06 17:49:32
*说明：T_WechatImageText仓储接口
*更新备注：
**********************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wechat.Domain;
using Wechat.Dto.Request;
using Wechat.Dto.Response;
using Wechat.Dto.Search;

namespace Wechat.Dao
{
    /// <summary>
    /// T_WechatImageText
    /// </summary>
    public interface IWechatImageTextRepository : IRepository<WechatImageText>
    {
        /// <summary>
        /// 添加图文消息
        /// </summary>
        /// <param name="request">图文信息</param>
        /// <returns></returns>
        int InsertOrUpdateImageText(WechatImageTextRequest request);

        /// <summary>
        /// 添加图文消息
        /// </summary>
        /// <param name="request">图文信息</param>
        /// <returns></returns>
        IList<WechatImageTextResponse> GetWechatImageTextList(WechatImageTextSearch Search);
    }
}